%input{"type"=>"hidden","id"=>"current_userinfo_id","value"=>"#{@userinfo.id.to_s}"}
%input{"type"=>"hidden","id"=>"current_business_id","value"=>"#{@wechat_session.business_id}"}
%input{"type"=>"hidden","id"=>"current_customer_id","value"=>"#{@wechat_session.customer_id}"}
%input{"type"=>"hidden","id"=>"current_customer_mobile","value"=>"#{@wechat_session.customer_mobile}"}

.container{'style' => 'padding-top: 45px;'}

  .app-header
    = image_tag "/root/icon_position.png" , :class => 'position'
    %span.city
      ="#{@userinfo.get_location_info()}"
    %span.title
      ="酒运达"
    = image_tag "/root/icon_me.png" , :class => 'me'

  /轮播图
  = render 'carrousel'
  /搜索框
  = render 'search'

  /热卖商品
  = render 'sale_hot'

  -#= link_to "weui实例", weui_index_path,:class => 'weui_btn weui_btn_primary'

  /底部
  = render 'foot'

  /商品分类
  = render 'category'

  /购物车
  = render 'shoppingcart'




